﻿using System;
using Steamworks;
using Terraria.Social.Base;

namespace Terraria.Social.Steam
{
	// Token: 0x02000133 RID: 307
	public class FriendsSocialModule : FriendsSocialModule
	{
		// Token: 0x06000D3E RID: 3390 RVA: 0x00006B58 File Offset: 0x00004D58
		public override void Initialize()
		{
		}

		// Token: 0x06000D3F RID: 3391 RVA: 0x00006B58 File Offset: 0x00004D58
		public override void Shutdown()
		{
		}

		// Token: 0x06000D40 RID: 3392 RVA: 0x0000D4CE File Offset: 0x0000B6CE
		public override string GetUsername()
		{
			return SteamFriends.GetPersonaName();
		}

		// Token: 0x06000D41 RID: 3393 RVA: 0x0000D4D5 File Offset: 0x0000B6D5
		public override void OpenJoinInterface()
		{
			SteamFriends.ActivateGameOverlay("Friends");
		}
	}
}
